<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>work</title>
<link href="../Public/css/index.css" rel="stylesheet" type="text/css" />
<link href="../Public/css/member.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Public/js/memberInfo.js"></script>
<script type="text/javascript">
function init(){
	var name = new Array("major","job","company","smoking","drinking",
			"housework","cooking","exercise","schedule","consuming");
	var value = new Array("{$work['major']}","{$work['job']}","{$work['company']}",
			"{$work['smoking']}","{$work['drinking']}","{$work['housework']}",
			"{$work['cooking']}","{$work['exercise']}","{$work['schedule']}",
			"{$work['consuming']}");
	for(var i = 0 ; i <name.length ; i++) {
		select_init(name[i],value[i]);
	}
	checkbox_init("entertainment[]","{$work['entertainment']}");
}
</script>
</head>
<body onload="init()">
<form action="__URL__/workmodify" method="post">
<div id="member_info_main">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
	<tr>
		<td width="17%" id="member_info_base_td">毕业院校：</td>
		<td width="33%"><input name="grad_school" type="text" id="grad_school"
			value="{$work['grad_school']}"></td>
		<td width="17%" id="member_info_base_td">专业类型：</td>
		<td><select name='major' id='major'>
			<option value=''>请选择</option>
			<volist name="majorlist" id="major">
			<option value='{$major.opt_value}'>{$major.opt_name}</option>
			</volist>
		</select></td>	
	</tr>
	<tr>
		<td id="member_info_base_td">职业：</td>
		<td><select name='job' id='job'>
			<option value=''>请选择</option>
			<volist name="joblist" id="job">
			<option value='{$job.opt_value}'>{$job.opt_name}</option>
			</volist>
		</select></td>
		<td id="member_info_base_td">公司类型：</td>	
		<td><select name='company' id='company'>
			<option value=''>请选择</option>
			<option value='政府机关'>政府机关</option>
			<option value='事业单位'>事业单位</option>
			<option value='国有企业'>国有企业</option>
			<option value='外企企业'>外企企业</option>
			<option value='私营企业'>私营企业</option>
			<option value='自有公司'>自有公司</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">工作描述：</td>
		<td><textarea name="job_des" cols="30" rows="3" id="job_des">{$work['job_des']}</textarea></td>
	</tr>
	<tr>
		<td id="member_info_base_td">是否抽烟：</td>
		<td><select name='smoking' id='smoking'>
			<option value=''>请选择</option>
			<option value='不抽且很反感'>不抽且很反感</option>
			<option value='不抽但不反感'>不抽但不反感</option>
			<option value='稍微抽一点儿'>稍微抽一点儿</option>
			<option value='只在社交场合抽'>只在社交场合抽</option>
			<option value='抽的很多'>抽的很多</option>
		</select></td>
		<td id="member_info_base_td">是否喝酒：</td>
		<td><select name="drinking" id="drinking">
			<option value=''>请选择</option>
			<option value='不喝酒'>不喝酒</option>
			<option value='有兴致时喝'>有兴致时喝</option>
			<option value='只在社交场合喝'>只在社交场合喝</option>
			<option value='喝的很多'>喝的很多</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">家务：</td>
		<td><select name='housework' id='housework'>
			<option value=''>请选择</option>
			<option value='愿意承担大部分家务'>愿意承担大部分家务</option>
			<option value='希望对方承担大部分家务'>希望对方承担大部分家务</option>
			<option value='看各自忙闲'>看各自忙闲</option>
			<option value='协商分担家务'>协商分担家务</option>
		</select></td>
		<td id="member_info_base_td">厨艺：</td>
		<td><select name='cooking' id='cooking'>
			<option value=''>请选择</option>
			<option value='色香味俱全'>色香味俱全</option>
			<option value='能做几样可口的小菜'>能做几样可口的小菜</option>
			<option value='有待提高'>有待提高</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">锻炼习惯：</td>
		<td><select name='exercise' id="exercise">
			<option value=''>请选择</option>
			<option value='每天锻炼'>每天锻炼</option>
			<option value='每周至少一次'>每周至少一次</option>
			<option value='每月几次'>每月几次</option>
			<option value='没时间锻炼'>没时间锻炼</option>
			<option value='不喜欢锻炼'>不喜欢锻炼</option>
		</select></td>
		<td id="member_info_base_td">作息习惯：</td>
		<td><select name='schedule' id='schedule'>
			<option value=''>请选择</option>
			<option value='早睡早起很规律'>早睡早起很规律</option>
			<option value='经常夜猫子'>经常夜猫子</option>
			<option value='总是早起'>总是早起</option>
			<option value='偶尔懒散一下'>偶尔懒散一下</option>
			<option value='没有规律'>没有规律</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">最大消费：</td>
		<td><select name='consuming' id='consuming'>
			<option value=''>请选择</option>
			<option value='美食'>美食</option>
			<option value='服饰'>服饰</option>
			<option value='化妆'>化妆</option>
			<option value='健身'>健身</option>
			<option value='娱乐'>娱乐</option>
			<option value='旅行'>旅行</option>
			<option value='社交'>社交</option>
			<option value='文化'>文化</option>
			<option value='自我提升'>自我提升</option>
			<option value='其他'>其他</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">休闲娱乐：</td>
		<td><volist name="enterlist" id="enter">
			<input name='entertainment[]' type='checkbox' value='{$enter.opt_value}' />{$enter.opt_name}
		</volist></td>
	</tr>
</table>			
<div id="member_info_submit">
	<input type="image" name="submit" src="../Public/images/member/member_info_edit.gif"
		onMouseOver="this.src='../Public/images/member/member_info_edit_2.gif'" 
		onMouseOut="this.src='../Public/images/member/member_info_edit.gif'" alt="修改"> 
	<img src="../Public/images/main/modify_reset.gif" 
		onMouseOver="this.src='../Public/images/main/modify_reset_2.gif'" 
		onMouseOut="this.src='../Public/images/main/modify_reset.gif'" 
		onClick="location.reload()" style="cursor: pointer;" alt="重置">
</div>
</div>
</form>
</body>
</html>